import Vue from 'vue'
import App from './App'

import plugins from './plugins' // plugins

// 此处为引用自定义顶部
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom);
import TnCustom from './components/TnCustom/TnCustom.vue'
Vue.component('tn-custom', TnCustom)

// 引入:uView-UI
import uView from 'uview-ui';
Vue.use(uView);

// UI框架的文档地址：https://jx2d.cn/
import tmVuetify from "./tm-vuetify";
Vue.use(tmVuetify)
Vue.use(plugins)

// uniCloud云数据库
// const clientDB = uniCloud.database({
// 	provider: 'aliyun',
// 	spaceId: 'mp-c9697942-6dba-4578-9756-9ebdd2d9f9ee',
// 	clientSecret: "1hdxy3rBDr/7k4kKgT+OPw=="
// })
// Vue.prototype.$cdb = clientDB;

Vue.config.productionTip = false

App.mpType = 'app'

const app = new Vue({
    ...App
})

app.$mount()
